package com.etb.wisdom.eframe.model;

import javax.persistence.Column;
import javax.persistence.Entity;

import com.etb.core.annotation.Delete;
import com.etb.core.annotation.Delete.Type;
import com.etb.core.pojo.DataObject;

@Entity
public class OrgOrganization extends DataObject {

	@Delete(deleteClass=OrgOrganization.class, cascadeField="id", type=Type.delete)
	private String uplevelid;
	
	private String orgname;
	
	private String orgcode;
	
	private String orglevel;
	
	private String orgseq;

	private String orgaddr;
	
	private String contacts;
	
	private String contactTel;
	
	private String email;
	
	private String remarks;

	public String getUplevelid() {
		return uplevelid;
	}

	public void setUplevelid(String uplevelid) {
		this.uplevelid = uplevelid;
	}

	public String getOrgname() {
		return orgname;
	}

	public void setOrgname(String orgname) {
		this.orgname = orgname;
	}

	public String getOrgcode() {
		return orgcode;
	}

	public void setOrgcode(String orgcode) {
		this.orgcode = orgcode;
	}

	public String getOrglevel() {
		return orglevel;
	}

	public void setOrglevel(String orglevel) {
		this.orglevel = orglevel;
	}
	@Column(length=661)
	public String getOrgseq() {
		return orgseq;
	}

	public void setOrgseq(String orgseq) {
		this.orgseq = orgseq;
	}

	public String getOrgaddr() {
		return orgaddr;
	}

	public void setOrgaddr(String orgaddr) {
		this.orgaddr = orgaddr;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getContactTel() {
		return contactTel;
	}

	public void setContactTel(String contactTel) {
		this.contactTel = contactTel;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

}
